package com.data.common.constant.enums;


/**
 * @Description
 *  事件类型 弹窗
 * @Author
 */
public enum EventEnum {


    /**
     *
     */
    TYPE_EMERG("1", "紧急报警"),
    TYPE_CANCEL("-1", "报警已处理"),
    TYPE_SERVE("2", "报修服务"),
    TYPE_ALARM("3", "其他报警"),
    TYPE_MONITOR("4", "人员进出监控"),

    ;

    private String code;
    private String msg;
    private Integer enumType;

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }


    private EventEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private EventEnum(String code, String msg, Integer enumType) {
        this.code = code;
        this.msg = msg;
        this.enumType = enumType;
    }

    @Override
    public String toString() {
        return "ContractEnum{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                '}';
    }

}
